package com.joysuch.wwyt.mh.service;

import com.joysuch.wwyt.mh.bean.MhMonitoringRealTimeListBean;
import com.joysuch.wwyt.mh.bean.MhPointValueAndSwitchStateBean;
import com.joysuch.wwyt.mh.entity.MhMonitoringPoint;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface MhMonitoringRealTimeService {

    Page<MhMonitoringRealTimeListBean> list(Pageable pageable, String name, String pointCode, Long monitoringTypeId,Long tenantId,String companyCode);

    MhPointValueAndSwitchStateBean getValueAndSwitchgStateBean(MhMonitoringPoint m,Long tenantId,String companyCode);

    String getVauleByPointsUnits(MhMonitoringPoint m, String value);

}
